package com.lzh.runke.enums;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lzh.runke.core.web_base.enums.BaseEnum;

/**
 * 水期
 */
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum WaterPeriodEnum implements BaseEnum<Integer> {

    WET_SEASON(1, "丰水期"),
    DRY_SEASON(2, "枯水期"),
    NORMAL_SEASON(3, "平水期"),
    ALL_YEAR(4, "全年");

    private Integer value;
    private String text;

    WaterPeriodEnum(Integer value, String text) {
        this.value = value;
        this.text = text;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

    @Override
    public String getName() {
        return this.name();
    }

    @Override
    public String getText() {
        return this.text;
    }

}
